home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
teglp.zip
/
SAMPROGS.ZIP
/
SAMC0304.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-06-27
|
803b
|
50 lines
{$F+} { -- far code model is required for any functions that }
{ -- are to be used as Event Handlers }
Uses
dos,
graph,
virtmem,
fastgrph,
TEGLIntr,
TEGLICON,
TEGLGRPH,
TEGLUnit,
TEGLMenu,
SenseMs,
DebugUnt,
TEGLEasy;
{ -- insert variables here }
VAR fs : ImageStkPtr;
{ -- insert procedures and functions here }
BEGIN
EasyTEGL;
{ -- insert the example code here }
{ -- press Ctrl-Break to exit program }
PushImage(1,1,100,100);
ShadowBox(1,1,100,100);
fs := StackPtr;
PushImage(50,50,150,150);
ShadowBox(50,50,150,150);
WHILE Mouse_Buttons = 0 DO;
RotateUnderStackImage(fs,StackPtr);
{ -- control is then passed to the supervisor }
TEGLSupervisor;
END.